<template>
  <div class="layout-page">
     <router-view></router-view>   <!-- 路由入口  -->
    <van-tabbar route>
      <!-- replace  不记录历史页面 无法返回 -->
  <van-tabbar-item  to="/article" replace icon="notes-o">面经</van-tabbar-item>
  <van-tabbar-item  to="/collect" replace icon="star-o">收藏</van-tabbar-item>
  <van-tabbar-item  to="/like" replace icon="like-o">喜欢</van-tabbar-item>
  <van-tabbar-item  to="/user" replace icon="user-o">我的</van-tabbar-item>
</van-tabbar>
  </div>
</template>

<script>
export default {
  name: 'LayoutPage'
}
</script>

<style lang="less" scoped></style>
